-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve error catching #762
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet!
1fb1482
Code Climate has analyzed commit bd2f853 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 93.9% (90% is the threshold). This pull request will bring the total coverage in the repository to 93.1% (0.0% change). View more on Code Climate. |
Description
We had certain return blocks based on variables being undefined where they could not be undefined as a result of their flow. This fixes that logic with try/catches and builds on our new response pattern
Related ticket(s)
CMDCT-3988
How to test
All tests pass
Everything works as normal
If you resend a request locally with invalid fieldData or metadata if throws a 400 with the proper error message
Notes
Pre-review checklist